package com.zch.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zch.dao.MeetingMapper;
import com.zch.dao.model.Meeting;
import com.zch.dao.model.MeetingExample;
import com.zch.daoEx.MeetingMapperEx;
import com.zch.daoEx.model.MeetingEx;

@Service
public class MeetingService {
	@Autowired
	private MeetingMapper meetingMapper;
	@Autowired
    private MeetingMapperEx meetingMapperEx;

	public int countByExample(MeetingExample example) {
		return this.meetingMapper.countByExample(example);
	}

	public Meeting selectByPrimaryKey(String id) {
		return this.meetingMapper.selectByPrimaryKey(id);
	}

	public List<Meeting> selectByExample(MeetingExample example) {
		return this.meetingMapper.selectByExample(example);
	}

	public int deleteByPrimaryKey(String id) {
		return this.meetingMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(Meeting record) {
		return this.meetingMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(Meeting record) {
		return this.meetingMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(MeetingExample example) {
		return this.meetingMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(Meeting record, MeetingExample example) {
		return this.meetingMapper.updateByExampleSelective(record, example);
	}

	public int updateByExample(Meeting record, MeetingExample example) {
		return this.meetingMapper.updateByExample(record, example);
	}

	public int insert(Meeting record) {
		return this.meetingMapper.insert(record);
	}

	public int insertSelective(Meeting record) {
		return this.meetingMapper.insertSelective(record);
	}

    public List<MeetingEx> selectAppList(Map<String, Object> map) {
        return this.meetingMapperEx.selectAppList(map);
    }

    public List<MeetingEx> selectList(Map<String, Object> map) {
        return this.meetingMapperEx.selectList(map);
    }

}
